home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Netware Super Library
/
Netware Super Library.iso
/
file_mgt
/
mkfname
/
mkfname.doc
< prev
next >
Wrap
Text File
|
1995-05-14
|
2KB
|
36 lines
MKFNAME Create a File Name based on Today's Date
V3.00/S Copyright(c) 1994-1995 Danen Information Services All Rights Reserved
═══════════════════════════════════════════════════════════════════════════════
Usage: MKFNAME mode template envvar batchfile
where mode is /JUL or /DOW or /WK /YMD, etc:
/JUL = insert 3-char julian day at marker
/DOW = insert 1-char day of week at marker
/WK = insert 2-char week number at marker
/MTH = insert 2-char month number at marker
/YMD = insert 8-char date at marker
/YY = insert 2-char year at marker
/YWK = insert 2-char year + 2-char week number at marker
/YM = insert 2-char year + 2-char month number at marker
/YJUL= insert 2-char year + 3-char julian day at marker
/NIC = insert rightmost 8 chars of NIC at marker
"marker" is a "*"
template is the template to use for the filename to generate,
e.g. audit*.dat
envvar is the environment variable to create the filename in
batchfile is the name of the batch file that sets envvar
This program comes in real handy when automating any kind of regular updates,
based on the current date. Good for network administrators and BBS SysOps.
To see the program in action, run MKFNDEMO.BAT.
This program is distributed under the ShareWare concept. If you use it,
registration is only $15.00.
Send your cheques to: Gerry Danen
106 Abbotsfield Road
Edmonton, AB Canada
T5W 4S9